<plugintpl file="Public:header"/>

<!--正文-->
<div class="row">
    <div class="col-md-12">
        <form  method="post" action="">
            <input name="id" value="{$info['id']}" type="hidden"/>
            <div class="form-group">
                <div class="col-xs-12">
                    <label class="col-xs-2 form-control-static">公众号名称</label>
                    <div class="col-xs-10">
                        <input class="form-control" placeholder="填写公众号的帐号名称" name="public_name" value="{$info.public_name}"/>
                    </div>
                </div>
            </div>
            <div class="form-group">
                <div class="col-xs-12">
                    <label class="col-xs-2 form-control-static">公众号账号</label>
                    <div class="col-xs-10">
                        <input class="form-control" placeholder="填写公众号的帐号，一般为英文帐号" name="public_account" value="{$info.public_account}"/>
                    </div>
                </div>
            </div>
            <div class="form-group">
                <div class="col-xs-12">
                    <label class="col-xs-2 form-control-static">原始ID</label>
                    <div class="col-xs-10">
                        <input class="form-control" placeholder="在给粉丝发送客服消息时,原始ID不能为空。建议您完善该选项" name="public_id" value="{$info.public_id}"/>

                    </div>
                </div>
            </div>
            <div class="form-group">
                <div class="col-xs-12">
                    <label class="col-xs-2 form-control-static">公众号类型</label>
                    <div class="col-xs-10">
                        <volist name="wx_type" id="vo">
                            <label class="radio radio-inline">
                                <input type="radio" name="public_type"  value="{$key}" data-toggle="radio" class="custom-radio " {:$info['public_type']==$key?'checked':''}><span class="icons"><span class="icon-unchecked"></span><span class="icon-checked"></span></span>
                                {$vo}
                            </label>
                        </volist>
                        <span class="help-block">注意：即使公众平台显示为“未认证”, 但只要【公众号设置】/【账号详情】下【认证情况】显示资质审核通过, 即可认定为认证号.</span>
                    </div>
                </div>
            </div>
            <div class="form-group">
                <div class="col-xs-12">
                    <label class="col-xs-2 form-control-static">AppId</label>
                    <div class="col-xs-10">
                        <input class="form-control" placeholder="请填写微信公众平台后台的AppId" name="appid" value="{$info.appid}"/>

                    </div>
                </div>
            </div>
            <div class="form-group">
                <div class="col-xs-12">
                    <label class="col-xs-2 form-control-static">AppSecret</label>
                    <div class="col-xs-10">
                        <input class="form-control" placeholder="请填写微信公众平台后台的AppSecret" name="appsecret" value="{$info.appsecret}"/>

                    </div>
                </div>
            </div>
            <div class="form-group">
                <div class="col-xs-12">
                    <label class="col-xs-2 form-control-static">Token</label>
                    <div class="col-xs-10">
                        <input class="form-control" placeholder="请填写微信公众平台后台的Token" name="token" value="{$info.token}"/>

                    </div>
                </div>
            </div>
            <div class="form-group">
                <div class="col-xs-12">
                    <label class="col-xs-2 form-control-static">EncodingAESKey</label>
                    <div class="col-xs-10">
                        <input class="form-control" placeholder="请填写微信公众平台后台的EncodingAESKey" name="encodingaeskey" value="{$info.encodingaeskey}" maxlength="43"/>

                    </div>
                </div>
            </div>
            <div class="form-group">
                <div class="col-xs-12">
                    <label class="col-xs-2 form-control-static">接入状态</label>
                    <div class="col-xs-10">
                        <volist name="wx_access" id="vo">
                            <label class="radio radio-inline">
                                <input type="radio" name="is_access"  value="{$key}" data-toggle="radio" class="custom-radio " {:$info['is_access']==$key?'checked':''}><span class="icons"><span class="icon-unchecked"></span><span class="icon-checked"></span></span>
                                {$vo}
                            </label>
                        </volist>
                        <span class="help-block">操作步骤：1.如有变更请选择未接2.在微信公众平台-开发-基本配置-服务器配置-将参数如该表单内容一一对应并保存3.在微信公众平台点启用，如果通过则改成已接入并保存.</span>
                    </div>
                </div>
            </div>
            <div class="form-group">
                <div class="col-xs-2 pl" style=" margin-left: 35%;margin-top: 5%;">
                    <button class="btn btn-success btn-large btn-block">确 定</button>
                </div>
            </div>
        </form>
    </div>
</div>

<plugintpl file="Public:footer"/>
